package com.xbongbong.pro.smartsettings.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author 吴峰
 * @date 2020/09/17 15:44
 */
@Getter
@Setter
@ToString
public class SsExecutorUserIdPojo implements Serializable {

    /**
     * 执行人（包括所选的执行人和部门，角色下的执行人）
     */
    private Set<String> execUserIds;

    /**
     * 负责人的code
     */
    private Set<Integer> managerLevels;
    /**
     * 协同人的code
     */
    private Set<Integer> coordinatorLevels;
    /**
     * 创建人的code
     */
    private Set<Integer> creatorLevels;

    /**
     * 关联合同
     */
    private Set<Integer> linkContractLevels;
    /**
     * 关联仓库
     */
    private Set<Integer> linkWareHouseLevels;
    /**
     * 关联采购合同
     */
    private  Set<Integer> linkPurchaseLevels;

    public SsExecutorUserIdPojo() {
        execUserIds = new HashSet<>();
        managerLevels = new HashSet<>();
        coordinatorLevels = new HashSet<>();
        creatorLevels = new HashSet<>();
        linkContractLevels = new HashSet<>();
        linkWareHouseLevels = new HashSet<>();
        linkPurchaseLevels = new HashSet<>();
    }
}
